
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
	<meta name="author" content="mironcoder" />
	<meta name="email" content="mironcoder@gmail.com" />
	<meta name="profile" content="https://themeforest.net/user/mironcoder" />
	<meta name="template" content="Organe" />
	<meta name="title" content="Organe - Organic Food HTML Template" />
	<meta name="keywords" content="organe, organic, food, shop, ecommerce, store, html, agriculture, vegetable, organic food, organic product, organic farm, organic life, organic shop, food store" />
	<title>Organe - Login</title>
	<link rel="icon" href="images/favicon.png" />
	<link rel="stylesheet" href="static/css/bootstrap.min.css" />
	<link rel="stylesheet" href="static/css/main.css" />
	<link rel="stylesheet" href="static/css/user-form.css" />
</head>
 <body>

  <section class="user-form-part">
   <div class="container">
    <div class="row justify-content-center">
     <div class="col-12 col-sm-10 col-md-8 col-lg-6 col-xl-5">
      <div class="user-form-logo">
       <a href="index.html"><img src="static/picture/logo.png" alt="logo" /></a>
      </div>
      <div class="user-form-card" style="height: 550px">
       <div class="user-form-title">
        <h2>welcome!</h2>
        <p>修改商品信息 </p>
       </div>
		<form action="StudentServlet" class="user-form">
		<input type="hidden" name="flag" value="update"/>
		<div class="form-group">
		商品编号：<input type="text" class="form-control" name="sid" value="${student.id}" readonly/>
		</div>
		<div class="form-group">
		商品名称：<input type="text" class="form-control" name="user" value="${student.name}"/></div>
		<div class="form-group">
		类别：<input type="text" class="form-control" name="sex" value="${student.sex}"/></div>
		<div class="form-group">
		价格：<input type="text" class="form-control" name="tid" value="${student.tid}"/></div>
		<div class="form-button"><button type="submit">提交</button></div>
		
	</form>
      </div>
     </div>
    </div>
   </div>
  </section>
  <script src="static/js/jquery-1.12.4.min.js"></script>
  <script src="static/js/popper.min.js"></script>
  <script src="static/js/bootstrap.min.js"></script>

 </body>
</html>